package com.ruoyi.project.bus.compare.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * compare对象 bus_compare
 * 
 * @author ruoyi
 * @date 2020-11-28
 */
public class BusCompare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String describe;

    /** 比对字段[{column: */
    @Excel(name = "比对字段[{column:")
    private String ruleColumns;

    /** 比对表 */
    @Excel(name = "比对表")
    private String ruleTables;

    /** 数据显示类型，显示相同数据0，显示不同数据1 */
    @Excel(name = "数据显示类型，显示相同数据0，显示不同数据1")
    private String showType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescribe(String describe) 
    {
        this.describe = describe;
    }

    public String getDescribe() 
    {
        return describe;
    }
    public void setRuleColumns(String ruleColumns) 
    {
        this.ruleColumns = ruleColumns;
    }

    public String getRuleColumns() 
    {
        return ruleColumns;
    }
    public void setRuleTables(String ruleTables) 
    {
        this.ruleTables = ruleTables;
    }

    public String getRuleTables() 
    {
        return ruleTables;
    }
    public void setShowType(String showType) 
    {
        this.showType = showType;
    }

    public String getShowType() 
    {
        return showType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("describe", getDescribe())
            .append("ruleColumns", getRuleColumns())
            .append("ruleTables", getRuleTables())
            .append("showType", getShowType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
